//Default Vertex shader with texture
//vs1.1
float4x4 view_proj_matrix;
float4x4 texture_matrix0;

struct VS_OUTPUT
{
    float4 Pos : POSITION;
    float3 Pshade : TEXCOORD0;
};

VS_OUTPUT vsMain (float4 vPosition : POSITION)
{
    VS_OUTPUT Out = (VS_OUTPUT) 0;
    // Transform position to clip space
    //Out.Pos = mul (view_proj_matrix, vPosition);
    Out.Pos = mul (vPosition, view_proj_matrix);//difference?
    // Transform Pshade
    Out.Pshade = mul (texture_matrix0, vPosition);
    return Out;
}
